<template>
  <el-form label-width="100px">
    <CommonProps />
    <el-form-item label="下拉选项">
      <el-input
        v-model="fs.getProps().options"
        type="textarea"
        :autosize="{ minRows: 2, maxRows: 10 }"
        placeholder="回车分隔选项"
      />
    </el-form-item>
    <el-form-item label="默认选项">
      <el-input v-model="fs.getProps().defaultVal" />
    </el-form-item>
    <el-form-item label="允许多选">
      <el-switch v-model="fs.getProps().multiple" />
    </el-form-item>
    <CommonPropsTwo />
  </el-form>
</template>

<script setup lang="ts">
import CommonProps from '../../common-props/Props.vue'
import CommonPropsTwo from '../../common-props/PropsTwo.vue'
import { ElForm, ElFormItem, ElInput, ElSwitch } from 'element-plus'
import { useFlowStore } from '@/stores/flow'

const fs = useFlowStore()
</script>

<style lang="scss" scoped></style>
